package com.zt.student.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.apache.shiro.authc.AuthenticationToken;

/**
 * description:
 * author:zt
 * date:2021-12-02
 */
@Data
@AllArgsConstructor
public class WechatToken implements AuthenticationToken {

    private WechatLoginCheck wechat;

    @Override
    public Object getPrincipal() {
        return wechat;
    }

    @Override
    public Object getCredentials() {
        return wechat;
    }
}
